Skip to content

Comments

jsonschema2pojo updates/improvements#24

Merged
goekay merged 5 commits intomainfrom
convert-multimodule
Jan 17, 2026
Merged

jsonschema2pojo updates/improvements#24
goekay merged 5 commits intomainfrom
convert-multimodule

Conversation

@goekay
Copy link
Member

@goekay goekay commented Jan 15, 2026

preparation (initial commit):

one parent project with

  • ocpp-custom: includes java customizations we want to apply
  • ocpp-jaxb: the generator, i.e. contains plugins that go over resource files, applies java customizations and generates final POJOs

reason: preparation to make some customizations using custom annotator via jsonschema2pojo plugin. jsonschema2pojo expects the custom annotator class to be compiled before the plugin runs

business-related changes

  1. introduce custom JodaDateTimeSerializer and JodaDateTimeDeserializer that use the same ruleset of existing DateTimeFormatter. reasons:
    • reading and writing according to yyyy-MM-dd'T'HH:mm:ss.SSS'Z' turns out to be too strict in some real world scenarios.
    • consolidation of behaviour between before and after ocpp 1.6 security.
  2. now that we moved into a multi-module configuration, we add lombok annotations (ToString, Getter, Setter, EqualsAndHashCode) instead of generating their respective source code
  3. upgrade to jackson 3

@goekay goekay force-pushed the convert-multimodule branch 2 times, most recently from 3afb520 to 70a6626 Compare January 15, 2026 13:37
one parent project with
- ocpp-custom: includes java customizations we want to apply
- ocpp-jaxb: the generator, i.e. contains plugins that go over resource files, applies java customizations and generates final POJOs

reason: preparation to make some customizations using custom annotator via jsonschema2pojo plugin. jsonschema2pojo expects the custom annotator class to be compiled before the plugin runs
@goekay goekay force-pushed the convert-multimodule branch from 70a6626 to 34f5092 Compare January 15, 2026 13:53
@goekay goekay changed the title convert to multi-module structure jsonschema2pojo updates/improvements Jan 17, 2026
@goekay goekay merged commit d3097c0 into main Jan 17, 2026
1 check passed
@goekay goekay deleted the convert-multimodule branch January 17, 2026 20:10
goekay added a commit to steve-community/steve that referenced this pull request Jan 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant